package com.grsu.phonestation.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="PAYMENT")
@DiscriminatorValue("promised")
public class PromisedPayment extends Payment {
	
	@Column(name = "DATEDEACTIVATION")
	private Date dateDeactivation;
	
	@Column(name = "ISREPLAY")
	private boolean isReplay;
	
	public Date getDateDeactivation() {
		return dateDeactivation;
	}
	public void setDateDeactivation(Date dateDeactivation) {
		this.dateDeactivation = dateDeactivation;
	}
	public boolean isActive() {
		return isReplay;
	}
	public void setActive(boolean isReplay) {
		this.isReplay = isReplay;
	}
	
}
